﻿using System;
using System.ServiceModel;
using EasyComm.ServiceUnit;

namespace EasyComm.Contracts
{
    [ServiceContract]
    public interface IAdminSLBContract
    {
        [OperationContract]
        ServiceResponse InitializeContracts(Uri nlbProxyUrl, Type[] serviceContractList);

        [OperationContract]
        ServiceResponse Initialize(Uri nlbProxyUrl);

        [OperationContract]
        SystemServiceUnit GetProxyService();

        [OperationContract]
        ServiceResponse SetWorkerServices(int count);

        [OperationContract]
        ServiceResponse LoadWorkerServiceAssembly(byte[] file, string fileName);
    }
}
